package inherit_0909;

public class Animal {
    String name;
    int age;
    double weight;
    void sleep (){
        System.out.println(this.name+"正在睡觉");
    }
    void eat(String food){
        System.out.println(this.name+"正在吃"+food);
    }

}
